package com.flowerSystem.service.impl;

import com.flowerSystem.entity.Producttype;
import com.flowerSystem.mapper.ProductTypeMapper;
import com.flowerSystem.service.ProductTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@Service
public class ProductTypeServiceImpl extends ServiceImpl<ProductTypeMapper, Producttype> implements ProductTypeService {
    @Resource
    private ProductTypeMapper productTypeMapper;
    @Override
    public List<Producttype> getProductTypeAll() {
        List<Producttype> list = productTypeMapper.getProductTypeAll();
        return list;
    }
}
